package com.qy.bean ;

import java.util.Date;
import java.io.Serializable;

/**
* u_driver_finance 
* @author zhangwenlong
* @date   Sat Feb 10 14:50:19 GMT+08:00 2018
*/ 
public class DriverFinance extends DataObject  implements Serializable {

	/** 代理商财务ID */
	private int id;

	/** 代理商ID */
	private int driverId;

	/** 提现金额 */
	private int price;

	/** 申请状态（1-待审核，2-审核通过(已支付)，3-审核不通过） */
	private int state;

	/** 申请时间 */
	private Date createTime;

	/** 审核时间 */
	private Date auditTime;

	/** 审核回复 */
	private String auditRemarks;

	public void setId(int id) {
		if (this.id != id) {
			this.id = id;
			setOp(Option.Update);
		}
	}

	public int getId() {
		return id;
	}

	public void setDriverId(int driverId) {
		if (this.driverId != driverId) {
			this.driverId = driverId;
			setOp(Option.Update);
		}
	}

	public int getDriverId() {
		return driverId;
	}

	public void setPrice(int price) {
		if (this.price != price) {
			this.price = price;
			setOp(Option.Update);
		}
	}

	public int getPrice() {
		return price;
	}

	public void setState(int state) {
		if (this.state != state) {
			this.state = state;
			setOp(Option.Update);
		}
	}

	public int getState() {
		return state;
	}

	public void setCreateTime(Date createTime) {
		if(this.createTime == null || !this.createTime.equals(createTime)) {
			this.createTime = createTime;
			setOp(Option.Update);
		}
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setAuditTime(Date auditTime) {
		if(this.auditTime == null || !this.auditTime.equals(auditTime)) {
			this.auditTime = auditTime;
			setOp(Option.Update);
		}
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditRemarks(String auditRemarks) {
		if(this.auditRemarks == null || !this.auditRemarks.equals(auditRemarks)) {
			this.auditRemarks = auditRemarks;
			setOp(Option.Update);
		}
	}

	public String getAuditRemarks() {
		return auditRemarks;
	}

}

